package com.yfp.client.service.impl;

import com.yfp.client.domain.MarCouponExport;
import com.yfp.client.mapper.MarCouponExportMapper;
import com.yfp.client.service.MarCouponExportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Description: 优惠券导出
 * 
 * @CreateDate: 2024/7/22 10:47
 * @UpdateUser:
 * @UpdateDate: 2024/7/22 10:47
 * @UpdateRemark: 暂无修改
 * @Version: 1.0
 */
@Service
public class MarCouponExportServiceImpl implements MarCouponExportService {
    @Autowired
    private MarCouponExportMapper marCouponExportMapper;

    @Override
    public MarCouponExport findById(String id) {
        return marCouponExportMapper.findById(id);
    }

    @Override
    @Transactional
    public void editStatusById(MarCouponExport marCouponExport) {
        marCouponExportMapper.editStatusById(marCouponExport);
    }
}